package com.sixbro.shiro.common.job.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 测试定时任务(演示Demo，可删除)
 *
 * testTask为spring bean的名称， 方法名称必须是run
 * </p>
 *
 * @Author: Mr.Lu
 * @Since: 2020/6/19 15:24
 */
@Component
public class TestTask {
    private Logger logger = LoggerFactory.getLogger(getClass());

    public void run(String params){
        logger.debug("TestTask定时任务正在执行，参数为：{}", params);
    }
}
